package com.repair.api.pay.request.param;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author chunyu
 * @since 2024/10/16,19:32
 */
@Data
public class PaymentAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private String payOrderNum;

    private String method;

    private String account;

    private String orderNum;

    private Long payerId;

    private BigDecimal price;

    private LocalDateTime succeedTime;

    public PaymentAddParam(String payOrderNum, String method, String account, String orderNum, Long payerId, BigDecimal price, LocalDateTime succeedTime) {
        this.succeedTime = succeedTime;
        this.payOrderNum = payOrderNum;
        this.method = method;
        this.account = account;
        this.orderNum = orderNum;
        this.payerId = payerId;
        this.price = price;
    }
}
